package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * ClassName: DishService
 * Package: com.sky.service
 * Description:
 *
 * @Author JJQ
 * @create 2024/3/26 0026 23:08
 * @Version 1.0
 */
public interface DishService {
    void saveWithFavor(DishDTO dishDTO);

    void updateWithFavor(DishDTO dishDTO);

    void deleteWithFavor(List<Long> ids);

    DishVO getById(Long id);

    PageResult page(DishPageQueryDTO queryDTO);

    List<DishVO> list(Long categoryId);

    void startOrStop(Integer status, Long id);
}
